package com.ruoyi.pv.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 培训班管理对象 pv_training_class
 *
 * @author zzx
 * @date 2023-03-12
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
@ToString
public class PvTrainingClass extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 班级名称
     */
    @Excel(name = "班级名称")
    private String name;

    /**
     * 级数
     */
    @Excel(name = "级数")
    private String grade;

    /**
     * 带教老师
     */
    @Excel(name = "带教老师")
    private String teacher;

    /**
     * 开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间" , width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /**
     * 结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间" , width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /**
     * 人数限制
     */
    @Excel(name = "人数限制")
    private Long quantity;

    /**
     * 班级状态
     */
    @Excel(name = "班级状态",dictType = "pv_training_class_status")
    private Integer status;

    /**
     * 描述
     */
    @Excel(name = "描述")
    private String info;

    /**
     * 预留1
     */
    //@Excel(name = "预留1")
    private Object reservedOne;

    /**
     * 预留2
     */
   // @Excel(name = "预留2")
    private Object reservedTwo;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间" , width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTime;

}
